#ifndef _COLLISION_H_
#define _COLLISION_H_

#include <irrlicht.h>

//engine namespaces
using namespace irr;


class CollisionMaker : public irr::scene::ISceneUserDataSerializer
{
   irr::IrrlichtDevice* mDevice;
   irr::scene::IMetaTriangleSelector* mSelector;
public:
   CollisionMaker(irr::IrrlichtDevice* pDev);
   irr::scene::IMetaTriangleSelector* getSelector();
   irr::io::IAttributes* createUserData (irr::scene::ISceneNode *forSceneNode); //override from
   void OnReadUserData (irr::scene::ISceneNode *forSceneNode, irr::io::IAttributes *userData);
   void LoadScene(const c8 *filename);
   void AddCollisionCam ();
   //destructor
   virtual ~CollisionMaker();

};
#endif
